<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
   
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf8" />
        <meta http-equiv="content-language" content="ru">
        <meta name="keywords" content="{$page_keywords}" />
        <meta name="description" content="{$page_description}" />
        <title>{$page_title}</title>
          <link href="/images/daba.png" rel="icon">
        <link rel="stylesheet" type="text/css" href="/css/stylesheet.css" />
        <link rel="stylesheet" type="text/css" href="/css/topmenu.css" >  
{literal}<style type="text/css">h1,h2,h3,h4,h5,h6, h2 a, h3 a, h4 a, h5 a, h6 a {font-weight:normal;color: #4d2b08 !important;}</style>
<style type="text/css">#top-area,#footer { background-color: #bba1b5; margin-left: -40px;}</style>
<style type="text/css">body { font-family: 'Droid Sans', Arial, sans-serif !important;  }</style>
<style type="text/css">body { color: #000000 !important;  }
#container > #banner > div { margin-bottom: -23px;  }
#defaultCountdown { width: 222px;
height: 45px;
position: absolute;
top: 345px;
display: block;
right: 462px;
float: right;
z-index: 0;}</style>{/literal}
        <link rel="stylesheet" type="text/css" href="/css/jquery-ui-1.8.16.custom.css">
<link rel="stylesheet" type="text/css" href="/css/jquery.fancybox-1.3.4.css">
<link rel="stylesheet" type="text/css" href="/css/eshop.css">
<link id="droid_sans" href="http://fonts.googleapis.com/css?family=Droid Sans" rel="stylesheet" type="text/css">

<script type="text/javascript" async="" src="http://mc.yandex.ru/metrika/watch.js"></script>
<script type="text/javascript" src="/js/jquery/jquery-1.7.1.min.js"></script>


<script type='text/javascript' src='/js/jquery.hoverIntent.minified.js'></script>
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/js/jquery.dcjqaccordion.2.9.js"></script>

<script type="text/javascript" src="/js/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="/js/jquery/tabs.js"></script>
	<link rel="stylesheet" type="text/css" href="/css/jquery.tagsinput.css" />

	<script type="text/javascript" src="/js/jquery.tagsinput.js"></script>
<script type="text/javascript" src="/js/jquery/ui/external/jquery.cookie.js"></script>
<script type="text/javascript" src="/js/jquery/colorbox/jquery.colorbox.js"></script>

<script type="text/javascript" src="/js/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript" src="/js/jquery.easing-1.3.pack.js"></script>


<script type="text/javascript" src="/js/et_shortcodes_frontend.js"></script>



<!-- ----------------------------------------------------------------------- -->
<script type="text/javascript" src="/js/jquery/jquery.cycle.js"></script>
<script type="text/javascript" src="/js/topmenu.js"></script>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="/css/ie7.css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="/css/ie6.css" />
<script type="text/javascript" src=/js/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('#logo img');
</script>
<![endif]-->
<!-- used in scripts -->
        <link rel="stylesheet" type="text/css" href="/js/jEditor/jquery.wysiwyg.css" />

        <script type="text/javascript" src="/js/tiny_mce/tiny_mce.js"></script>
        <!--<script type="text/javascript" src="/js/jEditor/jquery.wysiwyg.js"></script>-->

    <!--    <link href="/css/jquery-ui-timepicker-addon.css" rel="stylesheet" type="text/css"/>
        <script src="/js/jquery-ui-timepicker-addon.js"></script>-->
        <script type="text/javascript" src="/js/scripts.js"></script>
        <script type="text/javascript" src="/js/country.js"></script>
        {if $act == 'ok' }
            {literal}
                <script>
                    $(document).ready(function() {
                        $("#alertify-text").live('focus', function() {
                            $(this).datetimepicker({dateFormat: "yy-mm-dd", timeFormat: "hh:mm:ss"});
                        });
                    });
                </script>
            {/literal}
        {/if}
               
 <link rel="stylesheet" href="/css/fileuploader.css" type="text/css" />       
<script type="text/javascript" src="/js/fileuploader.js"></script>
<script type="text/javascript" src="/js/jquery.Jcrop.js"></script>
<script type="text/javascript" src="/js/image-uploader.js"></script>

  <script type="text/javascript" src="/js/ajaxupload.3.5.js"></script>
 <script type="text/javascript" src="/js/uploadfile.js"></script>
        <!--фильтр--> 
        <link rel="stylesheet" type="text/css" href="/css/chosen.css" />
        <script src="/js/chosen.jquery.js" type="text/javascript"></script>
        <script src="/js/docsupport/prism.js" type="text/javascript" charset="utf-8"></script>
        <!--Диалоговые окна-->
        <script src="/js/alertify.js"></script>
        <link rel="stylesheet" href="/css/alertify.core.css" />
        <link rel="stylesheet" href="/css/alertify.default.css" id="toggleCSS" />



    </head>
    <body>
        <div id="color-stripes"></div>
        <div id="container">
            <div id="header">
                <div id="logo">
                    <a href="/">
                        <img src="http://dabahm.com/image/data/logo.png" title="магазин Хенд мейд Daba" alt="магазин Хенд мейд Daba" style="height:142px;margin-top: -32px;margin-left: -65px;">
                    </a>
                </div>


                <div class="text"><font class="gr">С</font>
                    <font class="re">А</font>
                    <font class="gr">М</font>
                    <font class="re">Ы</font>
                    <font class="gr">Е</font>
                    <font class="re2"> оригинальные товары от</font> <br>
                    <font class="gr">С</font>
                    <font class="re">А</font>
                    <font class="gr">М</font>
                    <font class="re">Ы</font>
                    <font class="gr">Х</font>
                    <font class="re2">талантливых мастеров!</font>
                </div>

                  <div id="search-form">
                        <form method="get" id="searchform" action="{geturl controller="index" action="search"}">

                            <input type="text" placeholder="Поиск" value="{$filter_name}" name="filter_city" id="searchinput" class="searchinput"  onkeydown="this.style.color = '#000000';">
                            <input type="text" placeholder="Поиск" value="{$filter_name}" name="filter_name" id="searchinput1" class="searchinput"  onkeydown="this.style.color = '#000000';">
                            <input type="image" src="/css/images/search_btn.png" id="searchsubmit">
                            <input type="hidden" id="city_id_input" name="city_id_input" value="">
                          
                           
                            <select name="search_type"  id="search_type" >
                                <option value="1" {if $search_type=='1'}selected{/if}>Работы по описанию</option>
                                <option value="2" {if $search_type=='2'}selected{/if}>Мастера по имени</option>
                                <option value="3" {if $search_type=='3'}selected{/if}>Мастера по городу</option>
                            </select>

                        </form>
                    </div>

                <div id="basket" style="float:right;margin:20px 0px 0px 0px;">
                    <div id="cartimage" style="float:left;">
                        <a href="">
                            <img src="/css/images/basket.png" style="width:45px">
                        </a>
                    </div>
                    <div style="float:left;margin-left:10px;font:normal 12px arial;">
                        <a href="{geturl route='cart'}">
                            <span style="font:normal 14px droid sans;">Корзина</span>
                        </a>
                        <br>
                        <a style="font:normal 12px arial;color:green;text-decoration-color:green;text-decoration:underline;letter-spacing: -1px;" id="cart-total" 
                           href="{geturl route='cart'}">
                            товаров: <span id="cartcount">{$minicart.count}</span> <br>	на сумму: <span id="cartprice">{$minicart.price}</span> <span class="currency">{$currency}</span>		</a>
                    </div>
                </div>
                {if $authenticated}
   <div style="position: absolute;
top: 60px;
right: 0;">
                        <ul id="top-menu" class="nav sf-js-enabled">
                            <li id="menu-item-111" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-111">
                                <a href="{geturl controller='account'}">Профиль</a>
                            </li>

                            <li id="menu-item-111" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-111">
                                <a href="{if $requestsCount > 0}{geturl route='requests'}{else}{geturl controller='account' action='friends'}{/if}">Мои друзья {if $requestsCount > 0}<b>(+{$requestsCount})</b>{/if}</a>
                            </li>

                            <li id="menu-item-111" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-111">
                                <a href="{geturl  controller='account' action='messages'}">Мои сообщения{if $newPmCount > 0} <b>+{$newPmCount}</b>{/if}</a>
                            </li>

                        </ul>
</div>
                    {/if}
                <div class="clear"></div>
            </div>
            <div id="menu-content">
                <div id="menu-shadow"></div>
                <ul id="secondary-menu" class="nav clearfix sf-js-enabled">
                <li id="menu-item-20" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20 sf-ul">
                    <a href="/" class="sf-with-ul">На главную<span class="sf-sub-indicator"></span></a>
                </li>
                <li id="menu-item-20" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20 sf-ul">
                    <a href="{geturl route='catalog'}" class="sf-with-ul">Каталог<span class="sf-sub-indicator"></span></a>
                </li>
                   {if $identity->nameshop != ''}
                <li id="menu-item-20" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20 sf-ul">
                    <a href="{getsuburl route='shop'  name=$identity->nameshop}" class="sf-with-ul">Моя выставка<span class="sf-sub-indicator"></span></a>
                </li>
{/if}
                <li id="menu-item-20" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20 sf-ul">
                    <a href="" class="sf-with-ul">Помощь<span class="sf-sub-indicator"></span></a>
                </li>
                <li id="menu-item-20" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20 sf-ul">
                   {if !$authenticated} 
                       <a href="{geturl controller='account' action='login'}" class="sf-with-ul">Вход/регистрация<span class="sf-sub-indicator"></span></a> 
                       {else}
                       <a href="{geturl controller='account' action='logout'}" class="sf-with-ul">Выход<span class="sf-sub-indicator"></span></a> 
                       {/if}
                </li>
                <li id="menu-item-20" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20 sf-ul">
               {if $identity->type == 'admin' || $identity->type == 'globaladmin'} 
                       <a href="{geturl controller='admin' action='index'}" class="sf-with-ul">АдминкА<span class="sf-sub-indicator"></span></a> 

                        {/if}
                    </li>
                </ul>
            </div>
                       <div id="content">

          
